home *** CD-ROM | disk | FTP | other *** search
/ EnigmA Amiga Run 1999 March / EnigmA AMIGA RUN 35 (1999)(G.R. Edizioni)(IT)[!][issue 1999-03].iso / earcd / devel / libx11 / include / x11 / xaw / dialog.h < prev    next >
C/C++ Source or Header  |  1999-01-01  |  3KB  |  88 lines

  1. /* $XConsortium: Dialog.h,v 1.26 91/07/22 19:05:10 converse Exp $ */
  2.  
  3. /***********************************************************
  4. Copyright 1987, 1988 by Digital Equipment Corporation, Maynard, Massachusetts,
  5. and the Massachusetts Institute of Technology, Cambridge, Massachusetts.
  6.  
  7.                         All Rights Reserved
  8.  
  9. Permission to use, copy, modify, and distribute this software and its 
  10. documentation for any purpose and without fee is hereby granted, 
  11. provided that the above copyright notice appear in all copies and that
  12. both that copyright notice and this permission notice appear in 
  13. supporting documentation, and that the names of Digital or MIT not be
  14. used in advertising or publicity pertaining to distribution of the
  15. software without specific, written prior permission.  
  16.  
  17. DIGITAL DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING
  18. ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL
  19. DIGITAL BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR
  20. ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
  21. WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
  22. ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
  23. SOFTWARE.
  24.  
  25. ******************************************************************/
  26.  
  27. #ifndef _XawDialog_h
  28. #define _XawDialog_h
  29.  
  30. #include <X11/Xaw/Form.h>
  31. #include <X11/Xfuncproto.h>
  32.  
  33. /***********************************************************************
  34.  *
  35.  * Dialog Widget
  36.  *
  37.  ***********************************************************************/
  38.  
  39. /* Parameters:
  40.  
  41.  Name             Class        RepType        Default Value
  42.  ----             -----        -------        -------------
  43.  background         Background        Pixel        XtDefaultBackground
  44.  border             BorderColor    Pixel        XtDefaultForeground
  45.  borderWidth         BorderWidth    Dimension    1
  46.  destroyCallback     Callback        Pointer        NULL
  47.  height             Height        Dimension    computed at create
  48.  icon             Icon        Pixmap        0
  49.  label             Label        String        NULL
  50.  mappedWhenManaged   MappedWhenManaged    Boolean        True
  51.  sensitive         Sensitive        Boolean        True
  52.  value             Value        String        NULL
  53.  width             Width        Dimension    computed at create
  54.  x             Position        Position    0
  55.  y             Position        Position    0
  56.  
  57. */
  58.  
  59. #define XtCIcon "Icon"
  60. #define XtNicon "icon"
  61.  
  62. typedef struct _DialogClassRec    *DialogWidgetClass;
  63. typedef struct _DialogRec    *DialogWidget;
  64.  
  65. extern WidgetClass dialogWidgetClass;
  66.  
  67. _XFUNCPROTOBEGIN
  68.  
  69. extern void XawDialogAddButton(
  70. #if NeedFunctionPrototypes
  71.     Widget        /* dialog */,
  72.     _Xconst char*    /* name */,
  73.     XtCallbackProc    /* function */,
  74.     XtPointer        /* client_data */
  75. #endif
  76. );
  77.  
  78. extern char *XawDialogGetValueString(
  79. #if NeedFunctionPrototypes
  80.     Widget        /* w */
  81. #endif
  82. );
  83.  
  84. _XFUNCPROTOEND
  85.  
  86. #endif /* _XawDialog_h */
  87. /* DON'T ADD STUFF AFTER THIS #endif */
  88.